/** 
 * 项目名:extjs5.1 
 * 文件名:TUser.java 
 * 包名:com.spring.extjs.model 
 * 创建日期:2015年1月30日下午5:59:30 
 * 
 */

package com.spring.extjs.model;

import java.util.Date;

/**
 * 系统用户表<br>
 * <功能详细描述>
 *
 * @author chj_0507_dz@sina.com
 * @version [版本号,2015年1月30日]
 */
public class TUser {
	/** 主键*/
	private Integer id; 
	/** 状态 默认为有效。0：失效*/
	private Integer state = 1;
	/** 用户昵称*/
	private String nickname;
	/** 登录的用户名*/
	private String username;
	/** 真实姓名*/
	private String realname;
	/** 密码（需要加密）*/
	private String password = "1234";
	/** 年龄*/
	private Integer age;
	/** 出生日期*/
	private Date birthday;
	/** 性别*/
	private String gender;
	/** 手机号码*/
	private String phoneNumber;
	/** 电子邮箱*/
	private String email;
	/** 家庭住址*/
	private String address;
	/** 身份号码*/
	private String idcard;
	/** 头像（保存的是路径）*/
	private String portrait;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}
	
}
